package com.example.tool.erp.sdk.api.sales.dto;
import com.google.gson.annotations.SerializedName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.ArrayList;
import java.util.List;
@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
public class TradeQueryGetResponse
{
	@SerializedName("data")
	private ResponseData data;
	@SerializedName("status")
	private int status;

	@Data
	@ToString
	@NoArgsConstructor
	@AllArgsConstructor
    static class  ResponseData {
		@SerializedName("detail_list")
		private List<DetailItem> detailList=new ArrayList<>();
		@Data
		@ToString
		@NoArgsConstructor
		@AllArgsConstructor
        static class DetailItem {
			@SerializedName("shortname")
			private String shortname;
			@SerializedName("type")
			private int type;
			@SerializedName("created")
			private String created;
		}

	}
}